package tk.mybatis.springboot.model;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;

/**
 * Created by admin on 2017/4/12.
 */
@Data
public class Questions {
    @Id
    private Integer id;
    private String title;
    private String content;
    private String module;
    private String advice;
    private String type;
    private String q1;
    private String q2;
    private String q3;
    private String a1;
    private String a2;
    private String a3;
    private Date createTime;
    @Transient
    private String answer;
    @Transient
    private double rate1;
    @Transient
    private double rate2;
    @Transient
    private double rate3;}
